package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/4/6.
 */
public class GroupHomeBean extends BaseBean {

    /**
     * result : 1
     * info : {"is_boss":"0","is_manager":"0","boss":{"userid":"9","realname":"陈忠义","head_img":"http://www.uhousing.cn/Public/Admin/Upload_pic/2017-03-09/58c12e3dc8752.png"},"manage":[{"userid":"86","realname":"胡智隆","head_img":"http://www.uhousing.cn/Public/Admin/Upload_pic/2017-01-11/5875b99d532af.png","is_mine":"0"}],"team":[{"teamId":"9","teamName":"莒姬","teamCounts":"3"},{"teamId":"12","teamName":"hdjdj","teamCounts":"1"}]}
     */

    private String result;
    /**
     * is_boss : 0
     * is_manager : 0
     * boss : {"userid":"9","realname":"陈忠义","head_img":"http://www.uhousing.cn/Public/Admin/Upload_pic/2017-03-09/58c12e3dc8752.png"}
     * manage : [{"userid":"86","realname":"胡智隆","head_img":"http://www.uhousing.cn/Public/Admin/Upload_pic/2017-01-11/5875b99d532af.png","is_mine":"0"}]
     * team : [{"teamId":"9","teamName":"莒姬","teamCounts":"3"},{"teamId":"12","teamName":"hdjdj","teamCounts":"1"}]
     */

    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity {
        private String is_boss;
        private String is_manager;
        /**
         * userid : 9
         * realname : 陈忠义
         * head_img : http://www.uhousing.cn/Public/Admin/Upload_pic/2017-03-09/58c12e3dc8752.png
         */

        private BossEntity boss;
        /**
         * userid : 86
         * realname : 胡智隆
         * head_img : http://www.uhousing.cn/Public/Admin/Upload_pic/2017-01-11/5875b99d532af.png
         * is_mine : 0
         */

        private List<ManageEntity> manage;
        /**
         * teamId : 9
         * teamName : 莒姬
         * teamCounts : 3
         */

        private List<TeamEntity> team;

        public void setIs_boss(String is_boss) {
            this.is_boss = is_boss;
        }

        public void setIs_manager(String is_manager) {
            this.is_manager = is_manager;
        }

        public void setBoss(BossEntity boss) {
            this.boss = boss;
        }

        public void setManage(List<ManageEntity> manage) {
            this.manage = manage;
        }

        public void setTeam(List<TeamEntity> team) {
            this.team = team;
        }

        public String getIs_boss() {
            return is_boss;
        }

        public String getIs_manager() {
            return is_manager;
        }

        public BossEntity getBoss() {
            return boss;
        }

        public List<ManageEntity> getManage() {
            return manage;
        }

        public List<TeamEntity> getTeam() {
            return team;
        }

        public static class BossEntity {
            private String userid;
            private String realname;
            private String head_img;

            public void setUserid(String userid) {
                this.userid = userid;
            }

            public void setRealname(String realname) {
                this.realname = realname;
            }

            public void setHead_img(String head_img) {
                this.head_img = head_img;
            }

            public String getUserid() {
                return userid;
            }

            public String getRealname() {
                return realname;
            }

            public String getHead_img() {
                return head_img;
            }
        }

        public static class ManageEntity {
            private String userid;
            private String realname;
            private String head_img;
            private String is_mine;

            public void setUserid(String userid) {
                this.userid = userid;
            }

            public void setRealname(String realname) {
                this.realname = realname;
            }

            public void setHead_img(String head_img) {
                this.head_img = head_img;
            }

            public void setIs_mine(String is_mine) {
                this.is_mine = is_mine;
            }

            public String getUserid() {
                return userid;
            }

            public String getRealname() {
                return realname;
            }

            public String getHead_img() {
                return head_img;
            }

            public String getIs_mine() {
                return is_mine;
            }
        }

        public static class TeamEntity {
            private String teamId;
            private String teamName;
            private String teamCounts;

            public void setTeamId(String teamId) {
                this.teamId = teamId;
            }

            public void setTeamName(String teamName) {
                this.teamName = teamName;
            }

            public void setTeamCounts(String teamCounts) {
                this.teamCounts = teamCounts;
            }

            public String getTeamId() {
                return teamId;
            }

            public String getTeamName() {
                return teamName;
            }

            public String getTeamCounts() {
                return teamCounts;
            }
        }
    }
}
